package parts;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;

public class testLink {
    public static void main(String args[]) throws Exception {
        Link lk = new Link();
        Connection con = lk.create();
        Statement sql = con.createStatement();
        ResultSet rs;
        String SQL="select *from act";
        rs=sql.executeQuery(SQL);
        while (rs.next()){
            System.out.println(rs.getString(1)+" "+rs.getString(2)+" "+rs.getString(3));
        }
        lk.close(con);
    }
}
